package com.danbay.cloud.deviceaccess.api.dto.lock;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yangyanchen on 2017/12/18
 *         Copyright © 2016 －2017 旦倍科技
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AliasResult {

    @JsonProperty("dev_id")
    private String deviceId;

    @JsonProperty("type")
    private Integer type;

    @JsonProperty("old_alias")
    private String oldAlias;

    @JsonProperty("new_alias")
    private String newAlias;

    @JsonProperty("time")
    private String time;

    @JsonProperty("op_code")
    private String opCode;
}
